#include <iostream>
using namespace std;
class Base1 {
 public:
  virtual void vfunc1() { cout << "Base1::vfunc1()" << endl; }

 private:
  int a;
};
class Base2 {
 public:
  virtual void vfunc1() { cout << "Base2::vfunc1()" << endl; }

 private:
  int a;
};
class Derived : public Base1, public Base2 {
 public:
  void vfunc1() { cout << "Derived::vfunc1()" << endl; }
  virtual void vfunc2() { cout << "Derived::vfunc2()" << endl; }

 private:
  char a;
};

void Test1() {
  cout << "sizeof Base=" << sizeof(Base1) << endl;
  cout << "sizeof Base=" << sizeof(Base2) << endl;
  cout << "sizeof Derived=" << sizeof(Derived) << endl;
}
void Test2() {}
void Test3() {}
constexpr int func(int a) { return a ? 0 : 1; }
int main() {
  Test1();
  int x;
  cin >> x;
  cout << func(x) << endl;
  return 0;
}
